Set LIMIT 1

Add LIMIT 1 to the SELECT statement in isNewTransaction() since we just
want to know if an entry exists