Removed useless ternary operator