Fixed an issue with route constraints.