Removed uncesary conditional if.