Fix setting initial_page value in dynamic view if it is set to the folders page