add consistency check for preference date - implement check in backend and return error code