Fixed a bug that caused an Undefined property error

Signed-off-by: Gerben Peters <g.peters@econcepts.nl>
Properly allow array of route requiremnts.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Merge pull request #1034 from jasonlewis/fix/route-requirements-as-array

Properly allow array of route requirements.