Return null from getById if the record isn't found