Fixed checking parameter for extensions.