Changed so reverse doesn't get called on null values