Fixed view parsing when dealing with slug.

Signed-off-by: crynobone <crynobone@gmail.com>