Fix for when the application has multiple types of request mapping handlers

fixes #82