Model Selection in the Presence of Incidental Parameters