fixed select statement to avoid getting own row
Merge branch 'master' of github.com:manosai/ATMEverywhere