Deleted a sensitive logical error (bugfix)