diff --git a/modules/amv/intercompare.py b/modules/amv/intercompare.py
index f976fb0f8f490041f4ef9b1395edda0399131f03..5c393a3e5ccbc96095d950ef1e46a0da1c97d589 100644
--- a/modules/amv/intercompare.py
+++ b/modules/amv/intercompare.py
@@ -988,7 +988,7 @@ def best_fit(amv_spd, amv_dir, amv_prs, amv_lat, amv_lon, fcst_spd, fcst_dir, fc
     PressMin = max((amv_prs-PressDiff), TopPress)
 
 # 1d array of indicies to consider for best fit location
-    kk = np.where((fcst_prs<PressMax) & (fcst_prs>PressMin))
+    kk = np.where((fcst_prs < PressMax) & (fcst_prs > PressMin))
     if len(kk[0]) == 0:
         if verbose:
             print('AMV location lat,lon,prs ({0},{1},{2}) failed to find fcst prs around AMV'.format(amv_lat,amv_lon,amv_prs))