fix code to only return 1 for slice if parameter contains start/end
fix code to only return 1 for slice if parameter contains start/end

Ensembl/ensembl-webcode,Ensembl/ensembl-webcode,Ensembl/ensembl-webcode,Ensembl/ensembl-webcode,Ensembl/ensembl-webcode