Removed a buggy conditional if that resulted in an incorrect item status