Change route provider to ignore undefined data properties